//
//  NSDictionary+PLdefaultValueValue.h
//  PlatformCommon
//
//  Created by KimmanYip on 2017/9/26.
//
//

/*
 * NSDictionary工具
 * 用于获取value并设置默认值
 */

#import <Foundation/Foundation.h>

@interface NSDictionary(PLdefaultValueValue)

/** 获取BOOL值 **/
- (BOOL)pl_boolForKey:(NSString *)key defaultValue:(BOOL)value;

/** 获取int值 **/
- (int)pl_intForKey:(NSString *)key defaultValue:(int)value;

/** 获取long long值 **/
- (long long)pl_longLongForKey:(NSString *)key defaultValue:(long long)value;

/** 获取字符串值 **/
- (NSString *)pl_stringForKey:(NSString *)key defaultValue:(NSString *)value;

@end
